package com.huolian.calculator.entity;

import java.util.Scanner;

public class StudentManger {
    public static void main(String[] args) {
            Scanner scanner = new Scanner(System.in);

            System.out.print("Enter name:");
            String name = scanner.nextLine();
            System.out.print("Enter age:");
            int age = scanner.nextInt();
            scanner.nextLine();
            System.out.print("Snter student ID: ");
            String studentID = scanner.nextLine();

            Student student = new Student(name, age, studentID);
            System.out.println(student.toString());

    }
}